package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.entity.DevInverter;

import java.util.List;

public interface InverterService {
    int updateOnline(String eui, int online);

    DevInverter getByEui(String eui);

    int updateById(DevInverter deviceInverter);

    int insert(DevInverter devInverter);

    DevInverter getById(long id);

    List<DevInverter> getByAreaId(int areaId);

    int deleteById(Long id);

    int deleteByAreaId(Integer areaId);
}
